<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>if</title>
</head>
<body>
<a th:if="${flag == 'yes'}" th:href="@{http://www.ktjiaoyu.com/}">ktjiaoyu</a><br/>
<a th:unless="${flag == 'no'}" th:href="@{http://www.czkt.com/}">czkt</a>
</body>
</html>